<?php
/**
 * Created by PhpStorm.
 * User: DongYao
 * Date: 2017/12/21
 * Time: 下午10:08
 */

namespace App\Http\Controllers\WebApp\Api;


use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;

class BaseController extends Controller
{
    public $user;

    public function __construct()
    {
        $this->user = Auth::guard('api')->user();
    }
}